home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Animation How-To
/
Animation How-to CD.iso
/
PLY
/
CHAPTER3
/
POP
/
MOOSE.PI
next >
Wrap
Text File
|
1994-01-01
|
2KB
|
100 lines
// MOOSE.PI
// Moose shaped blob reflection deal
include "\ply\colors.inc"
start_frame 0
end_frame 89
total_frames 90
define index 360/total_frames
outfile "moose"
viewpoint {
from <0.8,0.8,0.0>
at <0.0,0.0,0.0>
up <0,1,0>
angle 90
resolution 320,200
aspect 1.433
}
background SkyBlue
light <0.7,0.7,0.7>,<10,12,1>
define ang frame*index
define unit_sphere object { sphere <0, 0, 0>, 1.0 }
define eye
object {
object {
sphere <0.0,0.0,0.0>,0.10
texture {
surface {
ambient red, 0.2
diffuse red, 0.5
specular white, 0.7
}
}
}
+ object {
sphere <0.0,0.0,0.0>,0.05
texture {
surface {
ambient Yellow, 0.5
diffuse Coral, 0.8
specular white, 0.9
}
}
translate <0.05,0.05,0.0 >
}
}
define weird_shape
object {
blob 6.6:
7, 3.0,< 0, 0, 0 >,
3, 1.0,< 1, 1, 1 >,
3, 1.0,< -1, 1, 1 >,
3, 1.0,< 1, -1, 1 >,
3, 1.0,< -1, -1, 1 >,
3, 1.0,< 1, 1, -1 >,
3, 1.0,< -1, 1, -1 >,
3, 1.0,< 1, -1, -1 >,
3, 1.0,< -1, -1, -1 >,
3, 1.0,< 0, 1, 1 >,
3, 1.0,< 0, 1, -1 >,
3, 1.0,< 0, -1, 1 >,
3, 1.0,< 0, -1, -1 >,
3, 1.0,< 1, 0, 1 >,
3, 1.0,< 1, 0, -1 >,
3, 1.0,< -1, 0, 1 >,
3, 1.0,< -1, 0, -1 >,
3, 1.0,< 1, 1, 0 >,
3, 1.0,< 1, -1, 0 >,
3, 1.0,< -1, 1, 0 >,
3, 1.0,< -1, -1, 0 >
root_solver Sturm
u_steps 20
v_steps 20
reflective_coral
}
object {
weird_shape & unit_sphere
rotate <45.0,ang,0.0>
}
eye {
rotate <70,70,30>
translate <0.25,0.25,0.25>
rotate <0.0,ang,0.0>
}
eye {
rotate <10,-10,0>
translate <0.25,0.25,-0.25>
rotate <0.0,ang,0.0>
}